package com.ecnu.system.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class ProjectStageMissionVO {
    @TableId("id")
    private String id;

    /**
     * 阶段id
     */
    @TableField("stage_id")
    @JsonIgnore
    private String stageId;

    /**
     * 任务名
     */
    @TableField("mission_name")
    private String missionName;

    /**
     * 截止时间
     */
    @TableField("end_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    @TableField("start_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    /**
     * 负责人
     */
    private List<UserVO> teacherList;
    /**
     * 任务人员
     */
    private List<UserVO> userList;
}
